<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArTime Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArTime.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="classArTime-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArTime Class Reference<div class="ingroups"><a class="el" href="group__UtilityClasses.html">Utility Classes</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A class for time readings and measuring durations.  
 <a href="classArTime.html#details">More...</a></p>

<p><code>#include &lt;ariaUtil.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aec93cf7e4c896f690c76e0249a8f44a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec93cf7e4c896f690c76e0249a8f44a1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#aec93cf7e4c896f690c76e0249a8f44a1">addMSec</a> (long ms)</td></tr>
<tr class="memdesc:aec93cf7e4c896f690c76e0249a8f44a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add some milliseconds (can be negative) to this time. <br /></td></tr>
<tr class="separator:aec93cf7e4c896f690c76e0249a8f44a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4445b935b9c1439658503d9724d12102"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4445b935b9c1439658503d9724d12102"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a4445b935b9c1439658503d9724d12102">addMSecLL</a> (long long ms)</td></tr>
<tr class="memdesc:a4445b935b9c1439658503d9724d12102"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add some milliseconds (can be negative) to this time. <br /></td></tr>
<tr class="separator:a4445b935b9c1439658503d9724d12102"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad21b5077d7f093e1dab8b95ca0610fc5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#gad21b5077d7f093e1dab8b95ca0610fc5">ArTime</a> ()</td></tr>
<tr class="memdesc:gad21b5077d7f093e1dab8b95ca0610fc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="group__easy.html#gad21b5077d7f093e1dab8b95ca0610fc5">More...</a><br /></td></tr>
<tr class="separator:gad21b5077d7f093e1dab8b95ca0610fc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ca124bb884de5155c1a8cefe1047996"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ca124bb884de5155c1a8cefe1047996"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a4ca124bb884de5155c1a8cefe1047996">ArTime</a> (const <a class="el" href="classArTime.html">ArTime</a> &amp;other)</td></tr>
<tr class="memdesc:a4ca124bb884de5155c1a8cefe1047996"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a4ca124bb884de5155c1a8cefe1047996"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf172e892ad0f943f4f2d8f0629517a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcf172e892ad0f943f4f2d8f0629517a"></a>
unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#abcf172e892ad0f943f4f2d8f0629517a">getMSec</a> (void) const </td></tr>
<tr class="memdesc:abcf172e892ad0f943f4f2d8f0629517a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the milliseconds value (occuring after the seconds value) <br /></td></tr>
<tr class="separator:abcf172e892ad0f943f4f2d8f0629517a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365d0575a2a1cf7a4b0dff1e3cd2c59f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a365d0575a2a1cf7a4b0dff1e3cd2c59f"></a>
unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a365d0575a2a1cf7a4b0dff1e3cd2c59f">getMSecLL</a> (void) const </td></tr>
<tr class="memdesc:a365d0575a2a1cf7a4b0dff1e3cd2c59f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the milliseconds value (occuring after the seconds value) <br /></td></tr>
<tr class="separator:a365d0575a2a1cf7a4b0dff1e3cd2c59f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afff313300262382b1f67cef9f5b099da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afff313300262382b1f67cef9f5b099da"></a>
unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#afff313300262382b1f67cef9f5b099da">getSec</a> (void) const </td></tr>
<tr class="memdesc:afff313300262382b1f67cef9f5b099da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the seconds value (since the arbitrary starting time) <br /></td></tr>
<tr class="separator:afff313300262382b1f67cef9f5b099da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac99ca1778c60b8c3b7433b302287bb31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac99ca1778c60b8c3b7433b302287bb31"></a>
unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#ac99ca1778c60b8c3b7433b302287bb31">getSecLL</a> (void) const </td></tr>
<tr class="memdesc:ac99ca1778c60b8c3b7433b302287bb31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the seconds value (since the arbitrary starting time) <br /></td></tr>
<tr class="separator:ac99ca1778c60b8c3b7433b302287bb31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6df7ba808b20b5c50badca67cd4e97c"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#gac6df7ba808b20b5c50badca67cd4e97c">isAfter</a> (<a class="el" href="classArTime.html">ArTime</a> testTime) const </td></tr>
<tr class="memdesc:gac6df7ba808b20b5c50badca67cd4e97c"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether the given time is after this one or not <br /></td></tr>
<tr class="separator:gac6df7ba808b20b5c50badca67cd4e97c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76c3c23ef471f1ce741979fa431676be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76c3c23ef471f1ce741979fa431676be"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a76c3c23ef471f1ce741979fa431676be">isAt</a> (<a class="el" href="classArTime.html">ArTime</a> testTime) const </td></tr>
<tr class="memdesc:a76c3c23ef471f1ce741979fa431676be"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether the given time is equal to this time or not <br /></td></tr>
<tr class="separator:a76c3c23ef471f1ce741979fa431676be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cd60449c10e098341a9f9366d5f86ef"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#ga9cd60449c10e098341a9f9366d5f86ef">isBefore</a> (<a class="el" href="classArTime.html">ArTime</a> testTime) const </td></tr>
<tr class="memdesc:ga9cd60449c10e098341a9f9366d5f86ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether the given time is before this one or not <br /></td></tr>
<tr class="separator:ga9cd60449c10e098341a9f9366d5f86ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb5db5d20c1794795ec0d141ac305aa1"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#gaeb5db5d20c1794795ec0d141ac305aa1">log</a> (const char *prefix=NULL) const </td></tr>
<tr class="memdesc:gaeb5db5d20c1794795ec0d141ac305aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs the time. <br /></td></tr>
<tr class="separator:gaeb5db5d20c1794795ec0d141ac305aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabfac503dbf12dac57c8dc133d0b034a1"><td class="memItemLeft" align="right" valign="top">
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#gabfac503dbf12dac57c8dc133d0b034a1">mSecSince</a> (<a class="el" href="classArTime.html">ArTime</a> since) const </td></tr>
<tr class="memdesc:gabfac503dbf12dac57c8dc133d0b034a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the number of milliseconds since the given timestamp to this one. <br /></td></tr>
<tr class="separator:gabfac503dbf12dac57c8dc133d0b034a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6027e24409f986ca10664a583071c294"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6027e24409f986ca10664a583071c294"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a6027e24409f986ca10664a583071c294">mSecSince</a> (void) const </td></tr>
<tr class="memdesc:a6027e24409f986ca10664a583071c294"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of milliseconds from this timestamp to now. <br /></td></tr>
<tr class="separator:a6027e24409f986ca10664a583071c294"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6481dd152a6167cd5eda0fbfa1e81183"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6481dd152a6167cd5eda0fbfa1e81183"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a6481dd152a6167cd5eda0fbfa1e81183">mSecSinceLL</a> (<a class="el" href="classArTime.html">ArTime</a> since) const </td></tr>
<tr class="memdesc:a6481dd152a6167cd5eda0fbfa1e81183"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the number of milliseconds since the given timestamp to this one. <br /></td></tr>
<tr class="separator:a6481dd152a6167cd5eda0fbfa1e81183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99468c5a30b8b474dead8bfba71acbd6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99468c5a30b8b474dead8bfba71acbd6"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a99468c5a30b8b474dead8bfba71acbd6">mSecSinceLL</a> (void) const </td></tr>
<tr class="memdesc:a99468c5a30b8b474dead8bfba71acbd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of milliseconds from this timestamp to now. <br /></td></tr>
<tr class="separator:a99468c5a30b8b474dead8bfba71acbd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b2cfe4da4202d614d3278e298ffe01d"><td class="memItemLeft" align="right" valign="top">
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#ga0b2cfe4da4202d614d3278e298ffe01d">mSecTo</a> (void) const </td></tr>
<tr class="memdesc:ga0b2cfe4da4202d614d3278e298ffe01d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of millisecs from when this timestamp is set to to now (the inverse of <a class="el" href="classArTime.html#a6027e24409f986ca10664a583071c294" title="Finds the number of milliseconds from this timestamp to now. ">mSecSince()</a>) <br /></td></tr>
<tr class="separator:ga0b2cfe4da4202d614d3278e298ffe01d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a5ac4379cf01ad20888d5c9242b8b19"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a5ac4379cf01ad20888d5c9242b8b19"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a3a5ac4379cf01ad20888d5c9242b8b19">mSecToLL</a> (void) const </td></tr>
<tr class="memdesc:a3a5ac4379cf01ad20888d5c9242b8b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of millisecs from when this timestamp is set to to now (the inverse of <a class="el" href="classArTime.html#a6027e24409f986ca10664a583071c294" title="Finds the number of milliseconds from this timestamp to now. ">mSecSince()</a>) <br /></td></tr>
<tr class="separator:a3a5ac4379cf01ad20888d5c9242b8b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a581563a103231598e1d78c4ca17fa53f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a581563a103231598e1d78c4ca17fa53f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classArTime.html">ArTime</a> &amp;other) const </td></tr>
<tr class="separator:a581563a103231598e1d78c4ca17fa53f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab701e5db82e7416a9c43c88b808c9db1"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="classArTime.html">ArTime</a> &amp;other) const </td></tr>
<tr class="separator:gab701e5db82e7416a9c43c88b808c9db1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a866196e6e9803ffa87acf7fe5c4a7401"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a866196e6e9803ffa87acf7fe5c4a7401"></a>
<a class="el" href="classArTime.html">ArTime</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a866196e6e9803ffa87acf7fe5c4a7401">operator=</a> (const <a class="el" href="classArTime.html">ArTime</a> &amp;other)</td></tr>
<tr class="memdesc:a866196e6e9803ffa87acf7fe5c4a7401"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:a866196e6e9803ffa87acf7fe5c4a7401"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a594d7dea44a2f895a382be4e3641c145"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a594d7dea44a2f895a382be4e3641c145"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a594d7dea44a2f895a382be4e3641c145">operator==</a> (const <a class="el" href="classArTime.html">ArTime</a> &amp;other) const </td></tr>
<tr class="memdesc:a594d7dea44a2f895a382be4e3641c145"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality operator (for sets) <br /></td></tr>
<tr class="separator:a594d7dea44a2f895a382be4e3641c145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c05e9a80bd37e14c6dd6c1d494d9345"><td class="memItemLeft" align="right" valign="top">
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="classArTime.html">ArTime</a> &amp;other) const </td></tr>
<tr class="separator:ga7c05e9a80bd37e14c6dd6c1d494d9345"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5385636d566c665eb9d722af6f65aef5"><td class="memItemLeft" align="right" valign="top">
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#ga5385636d566c665eb9d722af6f65aef5">secSince</a> (<a class="el" href="classArTime.html">ArTime</a> since) const </td></tr>
<tr class="memdesc:ga5385636d566c665eb9d722af6f65aef5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the number of seconds since the given timestamp to this one. <br /></td></tr>
<tr class="separator:ga5385636d566c665eb9d722af6f65aef5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2cc73991a4fbc0d5602232119bef0fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2cc73991a4fbc0d5602232119bef0fe"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#ad2cc73991a4fbc0d5602232119bef0fe">secSince</a> (void) const </td></tr>
<tr class="memdesc:ad2cc73991a4fbc0d5602232119bef0fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of seconds from when this timestamp was set to now. <br /></td></tr>
<tr class="separator:ad2cc73991a4fbc0d5602232119bef0fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5748ad151a3ec0cf8e9f01378d2c9924"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5748ad151a3ec0cf8e9f01378d2c9924"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a5748ad151a3ec0cf8e9f01378d2c9924">secSinceLL</a> (<a class="el" href="classArTime.html">ArTime</a> since) const </td></tr>
<tr class="memdesc:a5748ad151a3ec0cf8e9f01378d2c9924"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the number of seconds since the given timestamp to this one. <br /></td></tr>
<tr class="separator:a5748ad151a3ec0cf8e9f01378d2c9924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88e44a202bb6ecaca79fea465ceb9d49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88e44a202bb6ecaca79fea465ceb9d49"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a88e44a202bb6ecaca79fea465ceb9d49">secSinceLL</a> (void) const </td></tr>
<tr class="memdesc:a88e44a202bb6ecaca79fea465ceb9d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of seconds from when this timestamp was set to now. <br /></td></tr>
<tr class="separator:a88e44a202bb6ecaca79fea465ceb9d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cd20dd8a4845a5f50b55f16de1c4501"><td class="memItemLeft" align="right" valign="top">
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#ga2cd20dd8a4845a5f50b55f16de1c4501">secTo</a> (void) const </td></tr>
<tr class="memdesc:ga2cd20dd8a4845a5f50b55f16de1c4501"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of seconds from when this timestamp is set to to now (the inverse of <a class="el" href="classArTime.html#ad2cc73991a4fbc0d5602232119bef0fe" title="Finds the number of seconds from when this timestamp was set to now. ">secSince()</a>) <br /></td></tr>
<tr class="separator:ga2cd20dd8a4845a5f50b55f16de1c4501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4f54e8055a36bb669bf6f81876dc60a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4f54e8055a36bb669bf6f81876dc60a"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#af4f54e8055a36bb669bf6f81876dc60a">secToLL</a> (void) const </td></tr>
<tr class="memdesc:af4f54e8055a36bb669bf6f81876dc60a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of seconds from when this timestamp is set to to now (the inverse of <a class="el" href="classArTime.html#ad2cc73991a4fbc0d5602232119bef0fe" title="Finds the number of seconds from when this timestamp was set to now. ">secSince()</a>) <br /></td></tr>
<tr class="separator:af4f54e8055a36bb669bf6f81876dc60a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f26b30411b755d004c33939bef5e474"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f26b30411b755d004c33939bef5e474"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a9f26b30411b755d004c33939bef5e474">setMSec</a> (unsigned long msec)</td></tr>
<tr class="memdesc:a9f26b30411b755d004c33939bef5e474"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the milliseconds value (occuring after the seconds value) <br /></td></tr>
<tr class="separator:a9f26b30411b755d004c33939bef5e474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48194a729f4e6bb6e900a64ade2b4473"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48194a729f4e6bb6e900a64ade2b4473"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a48194a729f4e6bb6e900a64ade2b4473">setMSecLL</a> (unsigned long long msec)</td></tr>
<tr class="memdesc:a48194a729f4e6bb6e900a64ade2b4473"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the milliseconds value (occuring after the seconds value) <br /></td></tr>
<tr class="separator:a48194a729f4e6bb6e900a64ade2b4473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae916261bffd0b9507e33148185cd32ec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae916261bffd0b9507e33148185cd32ec"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#ae916261bffd0b9507e33148185cd32ec">setSec</a> (unsigned long sec)</td></tr>
<tr class="memdesc:ae916261bffd0b9507e33148185cd32ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the seconds value (since the arbitrary starting time) <br /></td></tr>
<tr class="separator:ae916261bffd0b9507e33148185cd32ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d4260499fd8853033ee5ce83fd39d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63d4260499fd8853033ee5ce83fd39d1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a63d4260499fd8853033ee5ce83fd39d1">setSecLL</a> (unsigned long long sec)</td></tr>
<tr class="memdesc:a63d4260499fd8853033ee5ce83fd39d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the seconds value (since the arbitrary starting time) <br /></td></tr>
<tr class="separator:a63d4260499fd8853033ee5ce83fd39d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c269e161c8e7cb56bde73dea501a619"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__easy.html#ga7c269e161c8e7cb56bde73dea501a619">setToNow</a> (void)</td></tr>
<tr class="memdesc:ga7c269e161c8e7cb56bde73dea501a619"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the time. <br /></td></tr>
<tr class="separator:ga7c269e161c8e7cb56bde73dea501a619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a479d7575122542f0a415f4e7ca40e62b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a479d7575122542f0a415f4e7ca40e62b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a479d7575122542f0a415f4e7ca40e62b">~ArTime</a> ()</td></tr>
<tr class="memdesc:a479d7575122542f0a415f4e7ca40e62b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a479d7575122542f0a415f4e7ca40e62b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3893e10d6164636c708585c1b9a45f3e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3893e10d6164636c708585c1b9a45f3e"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTime.html#a3893e10d6164636c708585c1b9a45f3e">usingMonotonicClock</a> ()</td></tr>
<tr class="memdesc:a3893e10d6164636c708585c1b9a45f3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets if we're using a monotonic (ever increasing) clock. <br /></td></tr>
<tr class="separator:a3893e10d6164636c708585c1b9a45f3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:af44297bc491511a9721cd79b5a201fbd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af44297bc491511a9721cd79b5a201fbd"></a>
unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><b>myMSec</b></td></tr>
<tr class="separator:af44297bc491511a9721cd79b5a201fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc1eb5e4e8345faa96856f237572f859"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc1eb5e4e8345faa96856f237572f859"></a>
unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><b>mySec</b></td></tr>
<tr class="separator:adc1eb5e4e8345faa96856f237572f859"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:ac9a8708685a8d680c39d71844531035f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9a8708685a8d680c39d71844531035f"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>ourMonotonicClock</b> = false</td></tr>
<tr class="separator:ac9a8708685a8d680c39d71844531035f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class for time readings and measuring durations. </p>
<p>This class is for timing durations or time between events. The time values it stores are relative to an abritrary starting time; it does not correspond to "real world" or "wall clock" time in any way, so DON'T use this for keeping track of what time it is, just for timestamps and relative timing (e.g. "this loop needs to sleep another 100 ms").</p>
<p>The recommended methods to use are <a class="el" href="group__easy.html#ga7c269e161c8e7cb56bde73dea501a619" title="Resets the time. ">setToNow()</a> to reset the time, <a class="el" href="classArTime.html#a6027e24409f986ca10664a583071c294" title="Finds the number of milliseconds from this timestamp to now. ">mSecSince()</a> to obtain the number of milliseconds elapsed since it was last reset (or <a class="el" href="classArTime.html#ad2cc73991a4fbc0d5602232119bef0fe" title="Finds the number of seconds from when this timestamp was set to now. ">secSince()</a> if you don't need millisecond precision), and mSecSince(ArTime) or secSince(ArTime) to find the difference between two <a class="el" href="classArTime.html" title="A class for time readings and measuring durations. ">ArTime</a> objects.</p>
<p>On systems where it is supported this will use a monotonic clock, this is an ever increasing system that is not dependent on what the time of day is set to. Normally for linux gettimeofday is used, but if the time is changed forwards or backwards then bad things can happen. Windows uses a time since bootup, which functions the same as the monotonic clock anyways. You can use <a class="el" href="classArTime.html#a3893e10d6164636c708585c1b9a45f3e" title="Gets if we&#39;re using a monotonic (ever increasing) clock. ">ArTime::usingMonotonicClock()</a> to see if this is being used. Note that an <a class="el" href="classArTime.html" title="A class for time readings and measuring durations. ">ArTime</a> will have had to have been set to for this to be a good value... <a class="el" href="classAria.html#ad99c16b5d947229d9f8e1c5b2d4cdd73" title="Initialize Aria global data struture and perform OS-specific initialization, including adding OS sign...">Aria::init</a> does this however, so that should not be an issue. It looks like the monotonic clocks won't work on linux kernels before 2.6. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="actsColorFollowingExample_8cpp-example.html#_a5">actsColorFollowingExample.cpp</a>, <a class="el" href="customRangeSensorExample_8cpp-example.html#_a15">customRangeSensorExample.cpp</a>, <a class="el" href="customRangeSensorExampleRobotTask_8cpp-example.html#_a18">customRangeSensorExampleRobotTask.cpp</a>, <a class="el" href="gotoActionExample_8cpp-example.html#_a26">gotoActionExample.cpp</a>, <a class="el" href="gpsExample_8cpp-example.html#_a22">gpsExample.cpp</a>, and <a class="el" href="singleThreadLoopExample_8cpp-example.html#_a11">singleThreadLoopExample.cpp</a>.</dd>
</dl></div><hr/>The documentation for this class was generated from the following files:<ul>
<li>ariaUtil.h</li>
<li>ariaUtil.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArTime.html">ArTime</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
